/*
* Copyright 2017 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-gateway-wechat
*
* @File name : MaintenanceorderServiceInterface.java
*
* @Author : Administrator
*
* @Date : 2017年3月7日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2017年3月7日    Administrator    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package com.yonyou.gmcc.gateway.wechat.service.interfaces;

import java.util.List;

import org.marketing.common.dto.maintenanceorder.MaintenanceDto;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
*
* @author Administrator
* TODO description
* @date 2017年3月7日
*/

@FeignClient(name = "service-maintenanceorder")
public interface MaintenanceorderServiceInterface {
    
    /**
    * 维修履历列表查询
    * @author QianKun
    * @date 2017年3月7日
    * @param vin
    * @return
    */
    @RequestMapping(value = "/maintenanceorder/api/v1/getMaintenance", method = RequestMethod.GET)
    public List<MaintenanceDto> getMaintenance(@RequestParam("vin") String vin);
 
}
